package com.z_talk.core.enums;

/**
 * 请求消息类型枚举值
 */
public enum RequestEnum {

    REGISTER_REQUEST("REGISTER_REQUEST","user"),
    LOGIN_REQUEST("LOGIN_REQUEST", "loginVO"),
    WORLD_TALK_REQUEST("WORLD_TALK_REQUEST", "worldTalk"),
    PRIVATE_TALK_REQUEST("PRIVATE_TALK_REQUEST", "privateTalk");

    private final String messageType;
    private final String attr;
    RequestEnum(String messageType, String attr) {
        this.messageType = messageType;
        this.attr = attr;
    }

    public String getAttr() {
        return attr;
    }

    public String getMessageType() {
        return messageType;
    }
}
